package main

import "fmt"

func main() {
	//输入正方形边长,for循环嵌套demo
	var a int
	fmt.Println("输入正方形边长:")
	fmt.Scan(&a)
	for i := 0; i <= a-1; i++ {
		for j := 0; j <= a-1; j++ {
			fmt.Printf("# ")
			if j == a-1 {
				fmt.Println("\n")
			}
		}

	}

}
